package com.unhz.taigu.service;

import com.unhz.generator.pojo.ProductionRange;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:
 * @Description: 生产范围
 * @Date: Created in 下午 6:40 2018/1/30 0030
 * @Modified By:
 */
@Repository
public interface ProductionRangeService {

    /**
     * 添加用户生产范围
     * @param productionRange
     */
    void insert(ProductionRange productionRange);

    List<ProductionRange> selectByUserId(Integer userId);

    void deleteByUserId(Integer id);
}
